package com.example.chatchatbackend.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.example.chatchatbackend.entity.dto.Sensitivewords;
import com.example.chatchatbackend.entity.vo.response.SensitivewordsVO;

import java.util.List;
import java.util.Map;


/**
 * <p>
 *  服务类
 * </p>
 *
 * @author 丁真
 * @since 2024-10-28 05:03:47
 */
public interface SensitivewordsService extends IService<Sensitivewords> {
    List<SensitivewordsVO> getAllSensitivewords();

    SensitivewordsVO insertSensitivewords(SensitivewordsVO sensitivewordsVO);

    List<SensitivewordsVO> insertSensitivewordsList(List<SensitivewordsVO> sensitivewordsVOList);

    IPage<Sensitivewords> pageThree(Integer pageNum, Integer pageSize);

    SensitivewordsVO updateSensitivewords(SensitivewordsVO sensitivewordsVO);

    void deleteByIds(List<Integer> ids);

    List<SensitivewordsVO> findByIds(List<Integer> ids);

    SensitivewordsVO checkMessagesAndRespond(List<Integer> ids);


}
